//
// Created by EDZ on 2022/1/26.
//

#ifndef INC_2022_1_COMMON_H
#define INC_2022_1_COMMON_H
#include <memory.h>
#include <iostream>
#include <algorithm>
#include <stack>
#include <vector>
#include <queue>
#include <set>
#include <map>
using namespace std;

struct ListNode {
    int val;
    struct ListNode *next;
    ListNode(int x) :
            val(x), next(NULL) {
    }
};

struct TreeNode {
    int val;
    struct TreeNode *left = NULL;
    struct TreeNode *right = NULL;
    TreeNode(int x):val(x),left(NULL),right(NULL){};
    TreeNode() {}
};


#endif //INC_2022_1_COMMON_H
